home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / p4 / p4-1_2b.lha / p4-1.2b / lib / p4_sys.h < prev    next >
C/C++ Source or Header  |  1993-02-06  |  1KB  |  55 lines

  1. #ifdef P4BSD
  2. #include <strings.h>
  3. #endif
  4. #ifdef P4SYSV
  5. #include <string.h>
  6. #endif
  7.  
  8. #include "p4_patchlevel.h"
  9. #include "p4_sock_util.h"    
  10.  
  11. #ifndef TRUE
  12. #define TRUE  1
  13. #define FALSE 0
  14. #endif
  15.  
  16. extern int errno;
  17. /*****
  18. extern char *sys_errlist[];
  19. *****/
  20.  
  21. #define PRECV_EOF -1
  22.  
  23. #define LISTENER_ATTN_SIGNAL SIGUSR1
  24.  
  25. #define LISTENER_ID (-99)
  26.  
  27. #include "p4_sys_funcs.h"
  28.  
  29. #include "p4_defs.h"
  30. #include "p4_macros.h"
  31.  
  32. #include "p4_globals.h"
  33.  
  34.  
  35. #define BEGIN_USER      101
  36. #define END_USER        102
  37. #define BEGIN_SEND      103
  38. #define END_SEND        104
  39. #define BEGIN_RECV      105
  40. #define END_RECV        106
  41. #define BEGIN_WAIT      107
  42. #define END_WAIT        108
  43.  
  44. #define UPDATE_NUM_SUBPROBS     200
  45. #define REQUEST_MONITOR_ENTRY   201
  46. #define ENTER_MONITOR           202
  47. #define EXIT_MONITOR            203
  48. #define OPEN_DOOR               204
  49. #define ENTER_DELAY_QUEUE       205
  50. #define EXIT_DELAY_QUEUE        206
  51. #define SECRET_EXIT_MONITOR     207
  52. #define PBDONE                  208
  53. #define PGDONE                  209
  54.  
  55.